package com.oa.action;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.oa.entity.ApproveInfo;
import com.oa.service.ApproveInfoService;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

/**
 * @author FengMengHuo
 * 审批 Action
 */
@Controller
@Scope("prototype")
public class ApproveInfoAction extends ActionSupport implements ModelDriven<ApproveInfo>{
	private static final long serialVersionUID = 1L;
	private ApproveInfo approveInfo = new ApproveInfo();
	
	//注入审批服务类
	@Resource(name="approveInfoService")
	private ApproveInfoService approveInfoService ;
	
	
	
	
	
	
	
	// 返回模型
	public ApproveInfo getModel() {
		return approveInfo;
	}

}
